-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(jest-config-carbon): update transform ignore, add watch plugins #8952
feat(jest-config-carbon): update transform ignore, add watch plugins #8952
Conversation
…ore/update-jest-config
✔️ Deploy Preview for carbon-elements ready! 🔨 Explore the source changes: e3d0a21 🔍 Inspect the deploy log: https://app.netlify.com/sites/carbon-elements/deploys/60d11e7f3b543e00080903e1 😎 Browse the preview: https://deploy-preview-8952--carbon-elements.netlify.app |
✔️ Deploy Preview for carbon-components-react ready! 🔨 Explore the source changes: e3d0a21 🔍 Inspect the deploy log: https://app.netlify.com/sites/carbon-components-react/deploys/60d11e7f9416e50007b6a304 😎 Browse the preview: https://deploy-preview-8952--carbon-components-react.netlify.app |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍 ✅
This PR updates our
jest-config-carbon
package in a couple of ways:transformIgnorePatterns
optionsThe first update reduced the overall test time by ~27% on my machine (down to ~180s), the second is a QOL change for watch mode.
Changelog
New
jest.config.js
for the default test configjest.e2e.config.js
for the e2e test configChanged
Removed
Testing / Reviewing
yarn test --watch
and filter by filename or test name to see the suggestions pop up